﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace WebFirst.Entities
{
    /// <summary>
    /// 慢阻肺患者随访记录
    ///</summary>
    [SugarTable("follow_copdup")]
    public class FollowCopdup
    {
        /// <summary>
        /// 随访记录ID 
        ///</summary>
         [SugarColumn(ColumnName="FollowUpID" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int FollowUpID { get; set; }
        /// <summary>
        /// 病人id 
        ///</summary>
         [SugarColumn(ColumnName="PatientID"    )]
         public string PatientID { get; set; }
         public string? DataMarker { get; set; }
        /// <summary>
        /// 医生id 
        ///</summary>
         [SugarColumn(ColumnName="DoctorID"    )]
         public int? DoctorID { get; set; }
        /// <summary>
        /// 病历号/档案号 
        ///</summary>
         [SugarColumn(ColumnName="MedicalRecordNumber"    )]
         public string MedicalRecordNumber { get; set; }
        /// <summary>
        /// 随访日期 
        ///</summary>
         [SugarColumn(ColumnName="FollowUpDate"    )]
         public DateTime FollowUpDate { get; set; }
        /// <summary>
        /// 随访方式：1-门诊, 2-家庭, 3-电话 
        ///</summary>
         [SugarColumn(ColumnName="FollowUpMethod"    )]
         public int? FollowUpMethod { get; set; }
        /// <summary>
        /// 症状ID，关联字典表 
        ///</summary>
         [SugarColumn(ColumnName="SymptomID"    )]
         public string? SymptomID { get; set; }
        /// <summary>
        /// 体重 
        ///</summary>
         [SugarColumn(ColumnName="Weight"    )]
         public decimal? Weight { get; set; }
        /// <summary>
        /// 身高 
        ///</summary>
         [SugarColumn(ColumnName="Height"    )]
         public decimal? Height { get; set; }
        /// <summary>
        /// 体质指数 
        ///</summary>
         [SugarColumn(ColumnName="BodyMassIndex"    )]
         public decimal? BodyMassIndex { get; set; }
        /// <summary>
        /// FEV1（呼气一秒用力呼出的体积） 
        ///</summary>
         [SugarColumn(ColumnName="FEV1"    )]
         public decimal? Fev1 { get; set; }
        /// <summary>
        /// 口唇紫绀：1-无, 2-有 
        ///</summary>
         [SugarColumn(ColumnName="CyanosisLips"    )]
         public int? CyanosisLips { get; set; }
        /// <summary>
        /// 下肢水肿：1-无, 2-有 
        ///</summary>
         [SugarColumn(ColumnName="LowerLimbEdema"    )]
         public int? LowerLimbEdema { get; set; }
        /// <summary>
        /// 日吸烟量（支） 
        ///</summary>
         [SugarColumn(ColumnName="SmokingAmountPerDay"    )]
         public int? SmokingAmountPerDay { get; set; }
        /// <summary>
        /// 运动次数/周 
        ///</summary>
         [SugarColumn(ColumnName="ExerciseFrequency"    )]
         public int? ExerciseFrequency { get; set; }
        /// <summary>
        /// 每次运动时长（分钟） 
        ///</summary>
         [SugarColumn(ColumnName="ExerciseDurationPerSession"    )]
         public int? ExerciseDurationPerSession { get; set; }
        /// <summary>
        /// 运动强度：1-轻, 2-中, 3-重 
        ///</summary>
         [SugarColumn(ColumnName="ExerciseIntensity"    )]
         public int? ExerciseIntensity { get; set; }
        /// <summary>
        /// 呼吸锻炼次数/周 
        ///</summary>
         [SugarColumn(ColumnName="RespiratoryExerciseFrequency"    )]
         public int? RespiratoryExerciseFrequency { get; set; }
        /// <summary>
        /// 呼吸锻炼时长/分钟 
        ///</summary>
         [SugarColumn(ColumnName="RespiratoryExerciseDuration"    )]
         public int? RespiratoryExerciseDuration { get; set; }
        /// <summary>
        /// 健康教育：1-无, 2-有 
        ///</summary>
         [SugarColumn(ColumnName="HealthEducation"    )]
         public int? HealthEducation { get; set; }
        /// <summary>
        /// 心理调整：1-良好, 2-一般, 3-差 
        ///</summary>
         [SugarColumn(ColumnName="PsychologicalAdjustment"    )]
         public int? PsychologicalAdjustment { get; set; }
        /// <summary>
        /// 服药依从性（1.规律 2.间断 3.不服药） 
        ///</summary>
         [SugarColumn(ColumnName="AdherenceToMedicalAdvice"    )]
         public int? AdherenceToMedicalAdvice { get; set; }
        /// <summary>
        /// 药物不良反应：1-无, 2-有 
        ///</summary>
         [SugarColumn(ColumnName="AdverseDrugReactions"    )]
         public int? AdverseDrugReactions { get; set; }
        /// <summary>
        /// 随访满意度：1-控制满意, 2-控制不满意, 3-不良反应, 4-并发症 
        ///</summary>
         [SugarColumn(ColumnName="FollowUpSatisfaction"    )]
         public int? FollowUpSatisfaction { get; set; }
        /// <summary>
        /// 辅助检查 
        ///</summary>
         [SugarColumn(ColumnName="AncillaryExaminations"    )]
         public string AncillaryExaminations { get; set; }
        /// <summary>
        /// 其他症状 
        ///</summary>
         [SugarColumn(ColumnName="SympomsOther"    )]
         public string SympomsOther { get; set; }
        /// <summary>
        /// 心理调整（1.良好 2.一般 3.差） 
        ///</summary>
         [SugarColumn(ColumnName="MentalAdjustment"    )]
         public int? MentalAdjustment { get; set; }
        /// <summary>
        /// 不良反应药物 
        ///</summary>
         [SugarColumn(ColumnName="MedicaltionAdverse"    )]
         public string MedicaltionAdverse { get; set; }
        /// <summary>
        /// 转诊原因 
        ///</summary>
         [SugarColumn(ColumnName="ReferralReason"    )]
         public string ReferralReason { get; set; }
        /// <summary>
        /// 转诊机构科别 
        ///</summary>
         [SugarColumn(ColumnName="ReferralDept"    )]
         public string ReferralDept { get; set; }
        /// <summary>
        /// 下次随访日期
        /// </summary>
        [SugarColumn(ColumnName = "NextFollowDate")]
        public DateTime? NextFollowDate { get; set; }
        /// <summary>
        /// 遵医行为（1.良好 2.一般 3.差） 
        ///</summary>
        [SugarColumn(ColumnName = "ComplianceBehavior")]
        public int? ComplianceBehavior { get; set; }
        /// <summary>
        /// 计划ID
        ///</summary>
        [SugarColumn(ColumnName = "PlanId")]
        public int? PlanId { get; set; }
    }

    public class FollowCopdupGw
    {
        /// <summary>
        /// 随访记录ID 
        ///</summary>
        [SugarColumn(ColumnName = "FollowUpID", IsPrimaryKey = true, IsIdentity = true)]
        public int FollowUpID { get; set; }
        /// <summary>
        /// 病人id 
        ///</summary>
        [SugarColumn(ColumnName = "PatientID")]
        public string PatientID { get; set; }
        public string IdCard { get; set; }
        /// <summary>
        /// 病历号/档案号 
        ///</summary>
        [SugarColumn(ColumnName = "MedicalRecordNumber")]
        public string MedicalRecordNumber { get; set; }
        /// <summary>
        /// 随访日期 
        ///</summary>
        [SugarColumn(ColumnName = "FollowUpDate")]
        public DateTime FollowUpDate { get; set; }
        /// <summary>
        /// 随访方式：1-门诊, 2-家庭, 3-电话 
        ///</summary>
        [SugarColumn(ColumnName = "FollowUpMethod")]
        public string? FollowUpMethod { get; set; }
        /// <summary>
        /// 症状ID，关联字典表 
        ///</summary>
        [SugarColumn(ColumnName = "SymptomID")]
        public string? SymptomID { get; set; }
        /// <summary>
        /// 体重 
        ///</summary>
        [SugarColumn(ColumnName = "Weight")]
        public decimal? Weight { get; set; }
        /// <summary>
        /// 身高 
        ///</summary>
        [SugarColumn(ColumnName = "Height")]
        public decimal? Height { get; set; }
        /// <summary>
        /// 体质指数 
        ///</summary>
        [SugarColumn(ColumnName = "BodyMassIndex")]
        public string? BodyMassIndex { get; set; }
        /// <summary>
        /// FEV1（呼气一秒用力呼出的体积） 
        ///</summary>
        [SugarColumn(ColumnName = "FEV1")]
        public string? Fev1 { get; set; }
        /// <summary>
        /// 口唇紫绀：1-无, 2-有 
        ///</summary>
        [SugarColumn(ColumnName = "CyanosisLips")]
        public string? CyanosisLips { get; set; }
        /// <summary>
        /// 下肢水肿：1-无, 2-有 
        ///</summary>
        [SugarColumn(ColumnName = "LowerLimbEdema")]
        public string? LowerLimbEdema { get; set; }
        /// <summary>
        /// 日吸烟量（支） 
        ///</summary>
        [SugarColumn(ColumnName = "SmokingAmountPerDay")]
        public string? SmokingAmountPerDay { get; set; }
        /// <summary>
        /// 运动次数/周 
        ///</summary>
        [SugarColumn(ColumnName = "ExerciseFrequency")]
        public string? ExerciseFrequency { get; set; }
        /// <summary>
        /// 每次运动时长（分钟） 
        ///</summary>
        [SugarColumn(ColumnName = "ExerciseDurationPerSession")]
        public string? ExerciseDurationPerSession { get; set; }
        /// <summary>
        /// 运动强度：1-轻, 2-中, 3-重 
        ///</summary>
        [SugarColumn(ColumnName = "ExerciseIntensity")]
        public string? ExerciseIntensity { get; set; }
        /// <summary>
        /// 呼吸锻炼次数/周 
        ///</summary>
        [SugarColumn(ColumnName = "RespiratoryExerciseFrequency")]
        public string? RespiratoryExerciseFrequency { get; set; }
        /// <summary>
        /// 呼吸锻炼时长/分钟 
        ///</summary>
        [SugarColumn(ColumnName = "RespiratoryExerciseDuration")]
        public string? RespiratoryExerciseDuration { get; set; }
        /// <summary>
        /// 健康教育：1-无, 2-有 
        ///</summary>
        [SugarColumn(ColumnName = "HealthEducation")]
        public string? HealthEducation { get; set; }
        /// <summary>
        /// 心理调整：1-良好, 2-一般, 3-差 
        ///</summary>
        [SugarColumn(ColumnName = "PsychologicalAdjustment")]
        public string? PsychologicalAdjustment { get; set; }
        /// <summary>
        /// 服药依从性（1.规律 2.间断 3.不服药） 
        ///</summary>
        [SugarColumn(ColumnName = "AdherenceToMedicalAdvice")]
        public string? AdherenceToMedicalAdvice { get; set; }
        /// <summary>
        /// 药物不良反应：1-无, 2-有 
        ///</summary>
        [SugarColumn(ColumnName = "AdverseDrugReactions")]
        public string? AdverseDrugReactions { get; set; }
        /// <summary>
        /// 随访满意度：1-控制满意, 2-控制不满意, 3-不良反应, 4-并发症 
        ///</summary>
        [SugarColumn(ColumnName = "FollowUpSatisfaction")]
        public string? FollowUpSatisfaction { get; set; }
        /// <summary>
        /// 辅助检查 
        ///</summary>
        [SugarColumn(ColumnName = "AncillaryExaminations")]
        public string AncillaryExaminations { get; set; }
        /// <summary>
        /// 其他症状 
        ///</summary>
        [SugarColumn(ColumnName = "SympomsOther")]
        public string SympomsOther { get; set; }
        /// <summary>
        /// 心理调整（1.良好 2.一般 3.差） 
        ///</summary>
        [SugarColumn(ColumnName = "MentalAdjustment")]
        public string? MentalAdjustment { get; set; }
        /// <summary>
        /// 不良反应药物 
        ///</summary>
        [SugarColumn(ColumnName = "MedicaltionAdverse")]
        public string MedicaltionAdverse { get; set; }
        /// <summary>
        /// 转诊原因 
        ///</summary>
        [SugarColumn(ColumnName = "ReferralReason")]
        public string ReferralReason { get; set; }
        /// <summary>
        /// 转诊机构科别 
        ///</summary>
        [SugarColumn(ColumnName = "ReferralDept")]
        public string ReferralDept { get; set; }
        /// <summary>
        /// 下次随访日期
        /// </summary>
        [SugarColumn(ColumnName = "NextFollowDate")]
        public DateTime? NextFollowDate { get; set; }
        /// <summary>
        /// 遵医行为（1.良好 2.一般 3.差） 
        ///</summary>
        [SugarColumn(ColumnName = "ComplianceBehavior")]
        public string? ComplianceBehavior { get; set; }
    }
}
